
<form id="form_edit">
<table>
	<tr>
		<td width="20%" align="right">类型：</td>
		<td width="30%"><select name='type'>
			{[html_options options=$type_option selected=$result.type]}
		</select></td>
		<td width="20%" align="right">日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$result.date]}" size="12"></td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55">{[$result.name]}</textarea></td>
	</tr>
	<tr>
		<td align="right">期限：</td>
		<td colspan="3"><input type="text" name="day" id="day" size="12" value="{[$result.day]}"> <select name='day_t' id='day_t'>
			{[html_options options=$day_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">周期：</td>
		<td colspan="3"><input type="text" name="date1" id="date1" size="12" value="{[$result.begin]}"> 至 <input
			type="text" name="date2" id="date2" size="12" value="{[$result.end]}"></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
	<tr>
		<td align="right">状态：</td>
		<td colspan="3"><select name='status'>
			{[html_options options=$status_option selected=$result.status]}
		</select></td>
	</tr>	
</table>
</form>

<div style="margin-top:10px; width:730px;float:left;">
<div id="myGrid" style="width:100%;height:220px;"></div>

</div>

<script type='text/javascript'>
var data = {[$data]};
</script>

<script type="text/javascript"
	src="js/finance/borrow/sun/grid.js?r={[$smarty.now]}"></script>
<script type="text/javascript"
	src="js/finance/borrow/sun/batch.js?r={[$smarty.now]}"></script>
